package cn.shop.dys.activity;

import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
import android.widget.LinearLayout;
import android.widget.RelativeLayout;

import cn.shop.dys.R;

public class moreHelpCenter extends AppCompatActivity implements View.OnClickListener {



    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.more_help_center);
        RelativeLayout gouwu = (RelativeLayout) findViewById(R.id.rl_gouwu);
        RelativeLayout psfs = (RelativeLayout) findViewById(R.id.rl_psfs);
        RelativeLayout server = (RelativeLayout) findViewById(R.id.rl_server);
        LinearLayout goback = (LinearLayout) findViewById(R.id.ll_goback);
        gouwu.setOnClickListener(this);
        psfs.setOnClickListener(this);
        server.setOnClickListener(this);
        goback.setOnClickListener(this);

    }

    @Override
    public void onClick(View v) {
        switch (v.getId()) {
            case R.id.rl_gouwu:
                startActivity(new Intent(moreHelpCenter.this, moreGouWuActivity.class));
                break;
            case R.id.rl_psfs:
                startActivity(new Intent(moreHelpCenter.this, morePsfsActivity.class));
                break;
            case R.id.rl_server:
                startActivity(new Intent(moreHelpCenter.this, moreServerActivity.class));
                break;
            case R.id.ll_goback:
                finish();
                break;
            default:break;
        }

    }

}
